//如45 BP截停的是未来生效的ARTR，45BP的生效时间在未来生效的ARTR中间，
//45ARTR Effective date< 45 BP Effective date< 45ARTR expiration date，
//此时应该报错：存在未来生效的ARTR;

var result = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"", "MSG":"","DATA":"","RULE":"60"}');

if (!isNull(JSON_CSRL_LIST)) {
  if (RETAIL_TYPE == 'BP'
    &&( getFutureRetailinCSRL(TRAIT_STORE_NBR,JSON_CSRL_LIST, EFF_DATE) || getFutureRetailinItemList(TRAIT_STORE_NBR,JSON_ITEM_LIST, EFF_DATE))) {
    result.CODE = 2;
    result.ACTION = "CHECKING_REPORT";
    result.MSG = "存在未来生效的AR/TR或与表格中AR/TR时间冲突，请检查";
  }
}
JSON.stringify(result);